package com.zxc.service;

import com.zxc.model.*;
import com.zxc.model.Diseases.DiseasesDetails;
import com.zxc.model.Equipment.Equipment;
import com.zxc.model.Fertilizer;
import com.zxc.model.Pesticide;
import com.zxc.model.Plant;
import com.zxc.model.Tools;

import java.util.List;

public interface AdminService {
    //插入植物信息
    int insertPlantInfo(Plant plant);
    //插入病症信息
    int insertDiseasesInfo(DiseasesDetails diseasesDetails);
    //插入设备仓库信息数据
    int insertEquipmentWarehouseData(Equipment equipment);
    //插入肥料仓库信息数据
    int insertFertilizerWarehouseData(Fertilizer fertilizer);
    //插入农药仓库信息数据
    int insertPesticideWarehouseData(Pesticide pesticide);
    //插入种子仓库信息数据
    int insertSeedWarehouseData(seeds seeds);
    //插入农具仓库信息数据
    int insertToolsWarehouseData(Tools tools);
//修改
//插入肥料仓库信息数据
    int updateFertilizerWarehouseData(Fertilizer fertilizer);
    //插入农药仓库信息数据
    int updatePesticideWarehouseData(Pesticide pesticide);
    //插入种子仓库信息数据
    int updateSeedWarehouseData(seeds seeds);
    //插入农具仓库信息数据
    int updateToolsWarehouseData(Tools tools);
//    修改
    //插入肥料仓库信息数据
    int insertFertilizerData(Fertilizer fertilizer);
    //插入农药仓库信息数据
    int insertPesticideData(Pesticide pesticide);
    List<Plant> getPlantDate(Plant plant);
    List<Tools> getToolsDate(Tools tools);
    List<Pesticide> getPesticideDate(Pesticide pesticide);
    List<Fertilizer> getFertilizerDate(Fertilizer fertilizer);
}
